<div class="pageContent">	
    <form method="post" action="__CONTROLLER__/edit?callbackType=closeCurrent" class="pageForm required-validate" onsubmit="return validateCallback(this, dialogAjaxDone)">
        <input type="hidden"  id='hidden'  name='id' value="<{$recruitInfo.id}>"/>
        <div class="pageFormContent" layoutH="58">
            <div class="unit">
                <label>招聘标题：</label>
                <input type="text" name="name" size="15"  value="<{$recruitInfo.name}>" class='required' />
            </div>
            <neq name="recruitInfo['companyname']" value=''>
                <div class="unit">
                    <label>公司：</label>
                    <input type="text" name="companyName" size="15"  value='<{$recruitInfo.companyname}>' class='' />
                </div> 
            <else/>
                <div class="unit">
                    <label>公司：</label>
                    <input type="text" name="companyName" size="15"  value='<{$Think.session.companyName}>' class='' />
                </div>
            </neq>
            <neq name="recruitInfo['companytel']" value=''>
                <div class="unit">
                    <label>联系电话：</label>
                    <input type="text" name="companyTel" size="15"  value='<{$recruitInfo.companytel}>' class='' />
                </div> 
            <else/>
                <div class="unit">
                    <label>联系电话：</label>
                    <input type="text" name="companyTel" size="15"  value='<{$Think.session.tel}>' class='' />
                </div>
            </neq>            
            <div class="unit">
                <label>招聘人数：</label>
                <input type="text" name="recruitNum" size="15"  value="<{$recruitInfo.recruitnum}>" class='' />
            </div>          
            <div class="unit">
                <label>地区：</label>
                <select class="combox" name="province" ref="w_combox_city" refUrl="__MODULE__/Area/ajaxShowCity/id/{value}">
                    <option value="">所在省</option>
                    <foreach name="provinceData" item="item" >
                        <option <eq name="areaInfo['province']" value="$item['province']">selected</eq> value="<{$item.id}>"><{$item.province}></option>
                    </foreach>
                </select>
                <select class="combox" name="city" id="w_combox_city" ref="w_combox_region" refUrl="__MODULE__/Area/ajaxShowArea/id/{value}">
                    <option value="">所在城市</option>
                    <neq name='cityData' value=''>
                        <foreach name="cityData" item="item" >
                            <option value="<{$item.id}>" <eq name="areaInfo['city']" value="$item['city']">selected</eq>><{$item.city}></option>
                        </foreach>
                    </neq>
                </select>
            </div>
            <div class="unit">
                <label>招聘岗位：</label>
                <select class="" name="jobType" style="width: 101px;">
                    <foreach name="job" item="list">
                        <option value="<{$list.jobid}>" <if condition="$list['id'] eq $recruitInfo['jobtype']">selected</if>><{$list.jobname}></option>
                    </foreach>
                </select>
            </div>
            <div class="unit">
                <label>薪资范围：</label>
                <select class="" name="salaryType" style="width: 101px;">
                    <foreach name="salary" item="list">
                        <option value="<{$list.salaryid}>" <if condition="$list['id'] eq $recruitInfo['salarytype']">selected</if>><{$list.salaryname}></option>
                    </foreach>
                </select>
            </div>
            <gt name="Think.session.type" value="1">
                <neq name="buyInfo['id']" value=''>
                    <div class="unit">
                        <label style="width: 108px;">是否置顶：</label>
                        <label style="width: 38px;"><input type="radio" name="top" value="1" />是</label>
                        <label><input type="radio" name="top" value='0' checked/>否</label> 
                    </div>
                </neq>
            </gt>
        </div>
        <div class="formBar">
            <ul>
                <li><div class="buttonActive"><div class="buttonContent"><button type="submit">提交</button></div></div></li>
                <li><div class="button"><div class="buttonContent"><button type="button" class="close">取消</button></div></div></li>
            </ul>
        </div>
    </form>	
</div>
